class InterestItem {
  String icon;
  int order;
  String keywords;
  String sId;
  String name;
  String id;
  String createdTime;
  String updatedTime;
  int iV;

  InterestItem(
      {this.icon,
      this.order,
      this.keywords,
      this.sId,
      this.name,
      this.id,
      this.createdTime,
      this.updatedTime,
      this.iV});

  InterestItem.fromJson(Map<String, dynamic> json) {
    icon = json['icon'];
    order = json['order'];
    keywords = json['keywords'];
    sId = json['_id'];
    name = json['name'];
    id = json['id'];
    createdTime = json['created_time'];
    updatedTime = json['updated_time'];
    iV = json['__v'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['icon'] = this.icon;
    data['order'] = this.order;
    data['keywords'] = this.keywords;
    data['_id'] = this.sId;
    data['name'] = this.name;
    data['id'] = this.id;
    data['created_time'] = this.createdTime;
    data['updated_time'] = this.updatedTime;
    data['__v'] = this.iV;
    return data;
  }
}